package com.example.picturestorage.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Publisher implements Serializable {
    private Integer id;
    private String publisherName;
    private MJ mj;
    private List<Book> books;
}

enum MJ{
    A,B;
    private MJ(){

    }
}
